﻿using Basic.FormRemoteModel.Page.Model;
using WeDonekRpc.Client;
using WeDonekRpc.Model;

namespace Basic.FormService.Interface
{
    public interface ICustomPageService
    {
        PageAppPower GetPower ( long pageId );
        void Enable ( long pageId );

        void Disable ( long pageId );

        void AddPower ( long pageId, PageAppPower power );

        long Add ( PageAdd add );

        void Delete ( long id );

        PageDatum Get ( long id );

        PagingResult<PageDatum> Query ( PageQueryParam query, IBasicPage paging );

        bool Set ( long id, PageSet set );
    }
}